-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support assertionExceptions without priority prefix #1053
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@evmiguel looks good! Well done, in also considering a lot of these files are new to you.
How this is done also makes it so that there shouldn't be any additional changes to how the harness files or the aria-at-app handle these assertionExceptions which is great!
lib/data/parse-test-csv-row.js
Outdated
@@ -216,12 +218,16 @@ function parseTestCSVRowV2({ tests, assertions, scripts, commands }) { | |||
at => at.key === key && at.settings === (command.settings || 'defaultMode') | |||
) | |||
) { | |||
const assertionExceptions = setDefaultAssertionExceptionsFromTest( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setDefaultAssertionPriority
seems like a more appropriate name here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks for addressing that last bit of feedback and addressing the issue with the false error being thrown. Great stuff!
@mcking65 this PR should now address #1046. So making it possible that instances of valid assertionIds can be listed in Could you confirm this works as expected? |
# Conflicts: # lib/data/process-test-directory/index.js
Preview Tests
This PR addresses #1046, providing support for test plans with assertionExceptions that do not have a priority prefix.
The following changes were added: